//返回显示价格
export function handlePrice(price, gold) {
  if (price && gold) {
    return `${`￥${price}`}+${`${gold}金豆`}`
  } else {
    return `${price ? `￥${price}` : ''}${gold ? `${gold}金豆` : ''}`
  }
}
//返回价格积分
export function handlePricePoint(price, point) {
  if (price && point) {
    return `${`￥${price}`}+${`${point}积分`}`
  } else {
    return `${price ? `￥${price}` : ''}${point ? `${point}积分` : ''}`
  }
}
